<?php

namespace app\backend\model;

use support\Model;

/**
 * This is the model class for table "cron_log".
 *
 * @property int $id ID
 * @property int $crontab_id 关联任务id
 * @property string $content 执行结果
 * @property string $gmt_create 记录的创建时间
 */
class CronLog extends Model
{
    /**
     * 指示是否自动维护时间戳
     *
     * @var bool
     */
    public $timestamps = false;
    /**
     * 与模型关联的表名
     *
     * @var string
     */
    protected $table = 'cron_log';

    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'crontab_id' => '关联任务id',
            'content' => '执行结果',
            'gmt_create' => '记录的创建时间',
        ];
    }
}
